package com.shou.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * openFeign接口，
 * 命名示例：若对应的是UserController的客户端
 * 则openFeign接口前缀取User、后缀为FeignClient
 */
@FeignClient("name")
public interface UserFeignClient {

    @GetMapping("path")
    String queryUserInfo(String req);

}
